-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oms 4 usb reset debugging #15
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. General logic looks good, but a few comments to make it integrate better with the rest of the repo.
Could you please attach a screenshot to the pr as well?
src/usb_reset/src/ros_usb_reset.cpp
Outdated
curr_ctxt->setContextProperty("myModel", (list.size() - 1)); | ||
for (; i < list.size() - 1; i++) { | ||
//write the name of the usb device | ||
painter->drawText(75,(i*35) + 15, list[i]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible to do this through the model as well? Does this work if you resize the window?
The program creates buttons for each device attached to the rover. When the button is pressed, the device is reset. The name of the device also appears next to the button. The devices are sent through a backend system OMS-1